import javax.swing.*;

import java.awt.*;
/** Loads All the Player Animations */

public class AnimationLoader {
	
	/********************** RIGHTY ANIMATIONS ******************************/

	public static Animation megaStandRight() {

		Animation MegaStandRight = new Animation();

		Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Standing/Standing RIGHT/StandRIGHT1.gif");
		Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Standing/Standing RIGHT/StandRIGHT2.gif");
		Image Slide3 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Standing/Standing RIGHT/StandRIGHT3.gif");

		MegaStandRight.addFrame(Slide1, 3000);
		MegaStandRight.addFrame(Slide2, 150);
		MegaStandRight.addFrame(Slide3, 150);

		return MegaStandRight;
	}

	public static Animation megaRunRight() {

		Animation MegaRunRight = new Animation();
		
		//Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running RIGHT/RunRight1.gif");
		//Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running RIGHT/RunRight2.gif");
		Image Slide3 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running RIGHT/RunRight3.gif");
		Image Slide4 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running RIGHT/RunRight4.gif");
		Image Slide5 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running RIGHT/RunRight5.gif");
		Image Slide6 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running RIGHT/RunRight6.gif");
		Image Slide7 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running RIGHT/RunRight7.gif");
		Image Slide8 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running RIGHT/RunRight8.gif");
		Image Slide9 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running RIGHT/RunRight9.gif");
		Image Slide10 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running RIGHT/RunRight10.gif");
		Image Slide11 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running RIGHT/RunRight11.gif");

		//RunRight.addFrame(Slide1, 80);
		//RunRight.addFrame(Slide2, 80);
		MegaRunRight.addFrame(Slide3, 80);
		MegaRunRight.addFrame(Slide4, 80);
		MegaRunRight.addFrame(Slide5, 80);
		MegaRunRight.addFrame(Slide6, 80);
		MegaRunRight.addFrame(Slide7, 80);
		MegaRunRight.addFrame(Slide8, 80);
		MegaRunRight.addFrame(Slide9, 80);
		MegaRunRight.addFrame(Slide10, 80);
		MegaRunRight.addFrame(Slide11, 80);

		return MegaRunRight;
	}

	public static Animation megaJumpRight() {

		Animation MegaJumpRight = new Animation();

		Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Jumping/Jumping RIGHT/JumpRight1.gif");
		Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Jumping/Jumping RIGHT/JumpRight2.gif");
		Image Slide3 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Jumping/Jumping RIGHT/JumpRight3.gif");
		
		MegaJumpRight.addFrame(Slide1, 180);
		MegaJumpRight.addFrame(Slide2, 180);
		MegaJumpRight.addFrame(Slide3, 100000000);

		return MegaJumpRight;
	}
	
	public static Animation megaFallRight() {

		Animation MegaFallRight = new Animation();

		Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Falling/Falling RIGHT/FallRight1.gif");
		Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Falling/Falling RIGHT/FallRight2.gif");
		//Image Slide3 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Falling/Falling RIGHT/FallRight3.gif");
		
		MegaFallRight.addFrame(Slide1, 80);
		MegaFallRight.addFrame(Slide2, 100000000);
		//FallRight.addFrame(Slide3, 80);

		return MegaFallRight;
	}
	
	public static Animation megaCrouchRight() {

		Animation MegaCrouchRight = new Animation();

		Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Crouching/Crouching RIGHT/CrouchRight1.gif");
		//Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Crouching/Crouching RIGHT/CrouchRight2.gif");
		Image Slide3 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Crouching/Crouching RIGHT/CrouchRight3.gif");
		Image Slide4 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Crouching/Crouching RIGHT/CrouchRight4.gif");
		
		MegaCrouchRight.addFrame(Slide1, 3000);
		//CrouchRight.addFrame(Slide2, 150);
		MegaCrouchRight.addFrame(Slide3, 150);
		MegaCrouchRight.addFrame(Slide4, 150);

		return MegaCrouchRight;
	}
	
	public static Animation megaDashRight() {

		Animation MegaDashRight = new Animation();

		Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing RIGHT/DashRIGHT1.gif");
		Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing RIGHT/DashRIGHT2.gif");
		Image Slide3 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing RIGHT/DashRIGHT3.gif");
		Image Slide4 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing RIGHT/DashRIGHT4.gif");
		Image Slide5 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing RIGHT/DashRIGHT5.gif");
		Image Slide6 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing RIGHT/DashRIGHT6.gif");
		Image Slide7 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing RIGHT/DashRIGHT7.gif");
		Image Slide8 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing RIGHT/DashRIGHT8.gif");
		Image Slide9 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing RIGHT/DashRIGHT9.gif");
		Image Slide10 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing RIGHT/DashRIGHT10.gif");
		
		MegaDashRight.addFrame(Slide1, 60);
		MegaDashRight.addFrame(Slide2, 60);
		MegaDashRight.addFrame(Slide3, 60);
		MegaDashRight.addFrame(Slide4, 90);
		MegaDashRight.addFrame(Slide5, 90);
		MegaDashRight.addFrame(Slide6, 90);
		MegaDashRight.addFrame(Slide7, 90);
		MegaDashRight.addFrame(Slide8, 90);
		MegaDashRight.addFrame(Slide9, 90);
		MegaDashRight.addFrame(Slide10,90);

		return MegaDashRight;
	}
	
	public static Animation megaStandWhileShootingRight() {

		Animation MegaStandWhileShootingRight = new Animation();

		Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Standing/Standing While Shooting RIGHT/StandWhileSHootingRIGHT1.gif");
		Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Standing/Standing While Shooting RIGHT/StandWhileSHootingRIGHT2.gif");
		
		MegaStandWhileShootingRight.addFrame(Slide1, 80);
		MegaStandWhileShootingRight.addFrame(Slide2, 80);
		
		return MegaStandWhileShootingRight;
	}
	
	/**************************************************************************************
	/**************************************************************************************
	/**************************************************************************************
	                        LEFTY ANIMATIONS                  */
	
	public static Animation megaStandLeft() {

		Animation MegaStandLeft = new Animation();

		Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Standing/Standing LEFT/StandLEFT1.gif");
		Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Standing/Standing LEFT/StandLEFT2.gif");
		Image Slide3 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Standing/Standing LEFT/StandLEFT3.gif");

		MegaStandLeft.addFrame(Slide1, 3000);
		MegaStandLeft.addFrame(Slide2, 150);
		MegaStandLeft.addFrame(Slide3, 150);

		return MegaStandLeft;
	}

	public static Animation megaRunLeft() {

		Animation MegaRunLeft = new Animation();
		
		//Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running LEFT/RunLeft1.gif");
		//Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running LEFT/RunLeft2.gif");
		Image Slide3 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running LEFT/RunLeft3.gif");
		Image Slide4 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running LEFT/RunLeft4.gif");
		Image Slide5 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running LEFT/RunLeft5.gif");
		Image Slide6 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running LEFT/RunLeft6.gif");
		Image Slide7 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running LEFT/RunLeft7.gif");
		Image Slide8 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running LEFT/RunLeft8.gif");
		Image Slide9 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running LEFT/RunLeft9.gif");
		Image Slide10 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running LEFT/RunLeft10.gif");
		Image Slide11 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Running/Running LEFT/RunLeft11.gif");

		//RunLeft.addFrame(Slide1, 80);
		//RunLeft.addFrame(Slide2, 80);
		MegaRunLeft.addFrame(Slide3, 80);
		MegaRunLeft.addFrame(Slide4, 80);
		MegaRunLeft.addFrame(Slide5, 80);
		MegaRunLeft.addFrame(Slide6, 80);
		MegaRunLeft.addFrame(Slide7, 80);
		MegaRunLeft.addFrame(Slide8, 80);
		MegaRunLeft.addFrame(Slide9, 80);
		MegaRunLeft.addFrame(Slide10, 80);
		MegaRunLeft.addFrame(Slide11, 80);

		return MegaRunLeft;
	}

	public static Animation megaJumpLeft() {

		Animation MegaJumpLeft = new Animation();

		Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Jumping/Jumping LEFT/JumpLeft1.gif");
		Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Jumping/Jumping LEFT/JumpLeft2.gif");
		Image Slide3 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Jumping/Jumping LEFT/JumpLeft3.gif");
		
		MegaJumpLeft.addFrame(Slide1, 180);
		MegaJumpLeft.addFrame(Slide2, 180);
		MegaJumpLeft.addFrame(Slide3, 100000000);

		return MegaJumpLeft;
	}
	
	public static Animation megaFallLeft() {

		Animation MegaFallLeft = new Animation();

		Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Falling/Falling LEFT/FallLeft1.gif");
		Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Falling/Falling LEFT/FallLeft2.gif");
		//Image Slide3 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Falling/Falling LEFT/FallLeft3.gif");
		
		MegaFallLeft.addFrame(Slide1, 80);
		MegaFallLeft.addFrame(Slide2, 100000000);
		//FallLeft.addFrame(Slide3, 80);

		return MegaFallLeft;
	}
	
	public static Animation megaCrouchLeft() {

		Animation MegaCrouchLeft = new Animation();

		Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Crouching/Crouching LEFT/CrouchLeft1.gif");
		//Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Crouching/Crouching LEFT/CrouchLeft2.gif");
		Image Slide3 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Crouching/Crouching LEFT/CrouchLeft3.gif");
		Image Slide4 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Crouching/Crouching LEFT/CrouchLeft4.gif");
		
		MegaCrouchLeft.addFrame(Slide1, 3000);
		//CrouchLeft.addFrame(Slide2, 150);
		MegaCrouchLeft.addFrame(Slide3, 150);
		MegaCrouchLeft.addFrame(Slide4, 150);

		return MegaCrouchLeft;
	}
	
	public static Animation megaDashLeft() {

		Animation MegaDashLeft = new Animation();

		Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing LEFT/DashLEFT1.gif");
		Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing LEFT/DashLEFT2.gif");
		Image Slide3 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing LEFT/DashLEFT3.gif");
		Image Slide4 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing LEFT/DashLEFT4.gif");
		Image Slide5 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing LEFT/DashLEFT5.gif");
		Image Slide6 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing LEFT/DashLEFT6.gif");
		Image Slide7 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing LEFT/DashLEFT7.gif");
		Image Slide8 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing LEFT/DashLEFT8.gif");
		Image Slide9 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing LEFT/DashLEFT9.gif");
		Image Slide10 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Dashing/Dashing LEFT/DashLEFT10.gif");
		
		MegaDashLeft.addFrame(Slide1, 60);
		MegaDashLeft.addFrame(Slide2, 60);
		MegaDashLeft.addFrame(Slide3, 60);
		MegaDashLeft.addFrame(Slide4, 90);
		MegaDashLeft.addFrame(Slide5, 90);
		MegaDashLeft.addFrame(Slide6, 90);
		MegaDashLeft.addFrame(Slide7, 90);
		MegaDashLeft.addFrame(Slide8, 90);
		MegaDashLeft.addFrame(Slide9, 90);
		MegaDashLeft.addFrame(Slide10,90);

		return MegaDashLeft;
	}
	
	public static Animation megaStandWhileShootingLeft() {

		Animation MegaStandWhileShootingLeft = new Animation();

		Image Slide1 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Standing/Standing While Shooting LEFT/StandWhileSHootingLEFT1.gif");
		Image Slide2 = loadImage("C:/DGX's/Programming Projects/Java Projects/Utilities/The Goods/Gif/Player/Standing/Standing While Shooting LEFT/StandWhileSHootingLEFT2.gif");
		
		MegaStandWhileShootingLeft.addFrame(Slide1, 80);
		MegaStandWhileShootingLeft.addFrame(Slide2, 80);
		
		return MegaStandWhileShootingLeft;
	}

	private static Image loadImage(String fileName) {
		return new ImageIcon(fileName).getImage();
	}

}
